package com.example.demo.mapper;

import com.example.demo.eneity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper

public interface UserMapper {
    @Insert("INSERT INTO user(id,name,password) VALUES(#{id},#{name},#{password})")
    int insert(@Param("id") String id, @Param("name") String name, @Param("password") String password);

}
